package com.group1.gateway.openFeignClient;

import com.group1.common.pojo.ResponseResult;
import com.group1.common.vo.UserVO;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("service-user")
public interface UserServiceClient {
    @GetMapping("parseJwt")
    ResponseResult<UserVO> parseJwt(@RequestParam String token);
}
